package com.yuanchu.marketing.dto;

import com.yuanchu.common.validator.ValidationGroups;
import com.yuanchu.marketing.entity.YoshopCouponEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-02-19 18:14
 */
@Data
public class CouponParamsDto {
    @NotNull(message = "couponId不能为空", groups = ValidationGroups.Update.class)
    @NotNull(message = "couponId不能为空", groups = ValidationGroups.Delete.class)
    private Integer couponId;
    private YoshopCouponEntity form;
}
